/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.proyectofinal.ramas.domain;

import java.io.Serializable;
import java.util.Date;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Temporal;

/**
 *
 * @author nicolas
 */
@Entity
@Table(name = "Role")
public class Role implements Serializable {
    
    @Id
    @Column(name = "roleID")
    @GeneratedValue
    private Integer roleID;

    @Column(name = "descript",length=20)
    private String descript;

    @Column(name = "loadDate")
    @Temporal(javax.persistence.TemporalType.TIMESTAMP)
    private Date loadDate;

    public Integer getRoleID() {
        return roleID;
    }

    public void setRoleID(Integer roleID) {
        this.roleID = roleID;
    }

    public String getDescript() {
        return descript;
    }

    public void setDescript(String descript) {
        this.descript = descript;
    }

    public Date getLoadDate() {
        return loadDate;
    }

    public void setLoadDate(Date loadDate) {
        this.loadDate = loadDate;
    }
    
}
